-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Msvc modular stdlib #108
Merged
Merged
Msvc modular stdlib #108
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…as a named module
…o msvc-modular-stdlib
…e now injected directly in the underlying calling shell This will allows us finally to remove the legacy code that needed to launch the vsvars.bat script to set the env vars for every command, and pass them to the underlying shell, directly invoking cl from there
…on call syntax for every supported compiler
…l instead of the horrible .replace
…l instead of the horrible .replace
…rk invoking way (project_root, as Cargo)
chore: cleaning the examples for local tests
…now fully supported
TheRustifyer
added
improvement
testing/unit-testing
feature
Something new in the application or library
labels
May 25, 2024
gbm25
approved these changes
May 25, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In size.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR brings finally the official way of using
import std
andimport std.compat
by compiling the std modularized libraries on the host project, according to the C++ standard documented in this paperMost notorious changes (summary):
import std
andimport std.compat
enabled for allMSVC
versions > 19.7vsvars
are now cached, and parsed beforehand, so we can wire them into shellZork++
can be invoked. Now only can use it from the project's root if no--root
flag is set. With the flag remains unchangedREADME.md
allowing the visitors to know what compilers are completely up to datesystem-headers
build, waiting for GCC to finally support the build of the modularized standard libraries